package com.boot2551.mapper;

import com.boot2551.bean.Admin;
import org.apache.ibatis.annotations.Select;

public interface AdminMapper {
    @Select(value = "select * from admin where aname=#{param1} and apwd=md5(#{param2})")
    Admin one(String name, String pwd);
}
